package com.gzhryc.shared_device.oem.h5.agent.dto.api.v1.my;

import com.gzhryc.common.api.SecurityResponse;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class MyStatisticsDayListResponse extends SecurityResponse<MyStatisticsDayListResponse.Body> {

	private static final long serialVersionUID = 1L;

	public MyStatisticsDayListResponse() {
		this.body = new Body();
	}

	public MyStatisticsDayListResponse(Integer code, String msg) {
		super(code,msg);
		this.body = new Body();
	}

	public static class Body implements Serializable {

		private static final long serialVersionUID = 1L;

		public List<Item> items;

		public Body() {
			this.items = new ArrayList<>();
		}

		public List<Item> getItems() {
			return items;
		}

		public void setItems(List<Item> items) {
			this.items = items;
		}
	}

	public static class Item {

		private String dayStr;
		private String money;
		private Integer incomeCount = 0;
		private Integer refundCount = 0;

		public String getDayStr() {
			return dayStr;
		}

		public void setDayStr(String dayStr) {
			this.dayStr = dayStr;
		}

		public String getMoney() {
			return money;
		}

		public void setMoney(String money) {
			this.money = money;
		}

		public Integer getIncomeCount() {
			return incomeCount;
		}

		public void setIncomeCount(Integer incomeCount) {
			this.incomeCount = incomeCount;
		}

		public Integer getRefundCount() {
			return refundCount;
		}

		public void setRefundCount(Integer refundCount) {
			this.refundCount = refundCount;
		}
	}

}
